import Vue from 'vue'
import router from './router'
import App from './App.vue'
import'./assets/css/global.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 导入字体图标
import'./assets/fonts/iconfont.css'
import axios from 'axios';
const instance = axios.create({
  baseURL: 'http://localhost:8080', // 后端服务的地址
  withCredentials: true, // 发送跨域请求时携带 cookies
  crossDomain: true // 标识请求为跨域请求
});

Vue.prototype.$http=instance



Vue.config.productionTip = false
Vue.use(ElementUI);


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
